package com.lgh.demo.bean;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import com.android.databinding.library.baseAdapters.BR;
import com.sankuai.waimai.opensdk.response.model.food.FoodSpuItem;

public class BeanFoodInfo extends BaseObservable {

    public BeanFoodInfo(FoodSpuItem foodSpuItem){
        this.foodSpuItem = foodSpuItem;
        this.selectCount = 0;
    }

    private FoodSpuItem foodSpuItem;

    public void setFoodSpuItem(FoodSpuItem foodSpuItem) {
        this.foodSpuItem = foodSpuItem;
    }

    public FoodSpuItem getFoodSpuItem() {
        return foodSpuItem;
    }

    private int selectCount;

    public void setSelectCount(int selectCount) {
        this.selectCount = selectCount;
//        notifyPropertyChanged(BR.vmSellersDetail.);
    }

    @Bindable
    public int getSelectCount() {
        return selectCount;
    }
}
